package com.xxx.common.service;

import com.github.pagehelper.PageInfo;
import com.xxx.common.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 */
public interface UserService extends IService<User> {

    User login(String userName, String password);

    PageInfo<User> selectUserInfo(User user, Integer pageNum, Integer pageSize);

    Integer saveAndUpdateUserInfo(User user);

    Integer delUserInfo(Integer id);

    User selectUserInfoById(Integer id);

}
